SearchContext.getRegexError

Regular expression patterns must follow certain rules. If [property@SearchSettings:search-text] breaks a rule, the error can be retrieved with this function.

The error domain is [enum@GLib.RegexError].

Free the return value with [method@GLib.Error.free].

class SearchContext
getRegexError
()

Return Value

Type: ErrorG

the #GError, or %NULL if the pattern is valid.

Meta